import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import axios from 'axios'
import { Cell } from 'vant';
import { Grid, GridItem } from 'vant';
import { Tab, Tabs } from 'vant';
import { SwipeCell } from 'vant';
import { Tabbar, TabbarItem } from 'vant';
import { Dialog } from 'vant';
import { Popup } from 'vant';
import { Icon } from 'vant';
import { Uploader } from 'vant';
import animate from 'animate.css';
import { CountDown } from 'vant';
import { Button } from 'vant';

Vue.use(Button);
Vue.use(CountDown);
Vue.use(animate);
Vue.use(Uploader);
Vue.use(Icon);
Vue.use(Popup);

// 全局注册
Vue.use(Dialog);
Vue.use(Tabbar);
Vue.use(TabbarItem);

Vue.use(SwipeCell);

Vue.use(Tab);
Vue.use(Tabs);

Vue.use(Grid);
Vue.use(GridItem);

Vue.use(Cell);
Vue.prototype.$axios = axios
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
